NewsParserPlugin\Controller\PostController S

Total Complexity 44
Dependencies 9
Dependents 3
Total lines 266
Lines of code 195
Logical lines of code 102
Comment lines 17
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
validateParsedData()
A
59 9 13
formatPostMeta()
S
58 5 16
getPostsData()
S
58 4 16
formatPostData()
S
61 4 13
formatPostOptions()
S
61 4 13
getPostsInProgress()
S
52 3 24
update()
S
54 2 22
parsePost()
S
57 2 16
createPostFromParsedData()
S
59 2 13
createPostDraft()
S
60 2 13
autopilotParsePost()
S
61 2 11
__construct()
S
69 1 7
applyBodyAdapter()
S
69 1 6
getPostTemplateOptions()
S
75 1 4
processPostParsedData()
S
72 1 5
currentUserID()
S
79 1 3